#include "ErrorCampos.h"

//(*InternalHeaders(ErrorCampos)
#include <wx/font.h>
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(ErrorCampos)
const long ErrorCampos::ID_STATICTEXT1 = wxNewId();
const long ErrorCampos::ID_BUTTON1 = wxNewId();
const long ErrorCampos::ID_PANEL1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(ErrorCampos,wxFrame)
	//(*EventTable(ErrorCampos)
	//*)
END_EVENT_TABLE()

ErrorCampos::ErrorCampos(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)
{
	//(*Initialize(ErrorCampos)
	Create(parent, id, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("id"));
	SetClientSize(wxSize(313,95));
	Move(wxPoint(500,200));
	Panel1 = new wxPanel(this, ID_PANEL1, wxPoint(120,264), wxSize(313,95), wxTAB_TRAVERSAL, _T("ID_PANEL1"));
	Panel1->SetForegroundColour(wxColour(5,197,231));
	Panel1->SetBackgroundColour(wxColour(32,32,50));
	StaticText1 = new wxStaticText(Panel1, ID_STATICTEXT1, _("Debes Rellenar Todos los Campos"), wxPoint(32,16), wxSize(232,24), 0, _T("ID_STATICTEXT1"));
	wxFont StaticText1Font(11,wxSWISS,wxFONTSTYLE_NORMAL,wxBOLD,false,_T("Arial"),wxFONTENCODING_DEFAULT);
	StaticText1->SetFont(StaticText1Font);
	Button1 = new wxButton(Panel1, ID_BUTTON1, _("Aceptar"), wxPoint(192,56), wxSize(91,31), 0, wxDefaultValidator, _T("ID_BUTTON1"));
	Button1->SetBackgroundColour(wxColour(19,214,230));
	wxFont Button1Font(12,wxSWISS,wxFONTSTYLE_NORMAL,wxNORMAL,false,_T("Cooper Black"),wxFONTENCODING_DEFAULT);
	Button1->SetFont(Button1Font);
	
	Connect(ID_BUTTON1,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&ErrorCampos::OnButton1Click);
	//*)
}

ErrorCampos::~ErrorCampos()
{
	//(*Destroy(ErrorCampos)
	//*)
}


void ErrorCampos::OnButton1Click(wxCommandEvent& event)
{
    Close();
}
